<template>
  <zm-view ref="view">
    <coupon v-for="(item, index) in list" :key="index" :info="item" disabled custom-class="mx-24 mt-20"></coupon>
    <zm-empty v-if="list.length == 0" text="暂无不可用优惠券" :icon="useImage('/zuimei-film-oss/1.0.0/empty/zwyhj-empty.png')"></zm-empty>
  </zm-view>
</template>
<script>
import page from "@/mixins/page"
export default {
  mixins: [page],
  data() {
    return {
      list: []
    }
  },
  mounted() {
    this.handleInit()
  },
  methods: {
    handleInit() {
      this.list = this.$getCache("couponUnUseList") || []
    }
  }
}
</script>
<style scoped lang="scss"></style>
